package com.jiazhong.shixi.ceshi.until;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class JsonResult <T>{
    private boolean success;//成功or失败
    private int code;//状态码
    private T data;//成功返回数据
    private String error;//错误的消息
}
